@import "src/variables";
@import "~le5le-ui/variables";

$color-border: #ddd;

:host {
  display: block;
  width: 100%;

  height: 100%;

  & > .flex {
    height: 100%;
  }
}

.tools {
  flex-shrink: 0;
  width: 1.65rem;
  background-color: #f8f8f8;
  border-right: 1px solid $color-border;
  overflow-y: auto;

  .title {
    padding: 0.05rem 0.1rem;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;

    &:first-child {
      border-top: none;
    }
  }

  .buttons {
    padding: 0.1rem 0;
    a {
      display: inline-block;
      color: $color;
      line-height: 1;
      width: 0.4rem;
      height: 0.4rem;
      text-align: center;
      text-decoration: none !important;

      .iconfont {
        font-size: 0.24rem;
      }
    }
  }
}

.full {
  flex: 1;
  width: initial;
  position: relative;
  overflow: auto;
  background: #fff;
}

.props {
  flex-shrink: 0;
  width: 2.4rem;
  background-color: #f8f8f8;
  border-left: 1px solid $color-border;
  overflow-y: auto;
  position: relative;

  .title,
  .popup-title {
    padding: 0.05rem 0.15rem;
    border-bottom: 1px solid #ccc;
    display: flex;
  }
}
